package thread.lock.reentrallock;

/**
 * Created by mHandler on 2018/6/3 0003.
 * Description:
 */
public class MyThread extends Thread {
    private MyService myService;
    public MyThread(MyService myService){
        super();
        this.myService = myService;
    }

    @Override
    public void run() {
        super.run();
        myService.testMethod();
    }
}
